import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'home',
    component: Home,
    children: [{
        path: "/",
        component: () => import( /* webpackChunkName: "main" */ './views/pages/Main.vue')
      },
      {
        path: "/desc",
        component: () => import( /* webpackChunkName: "desc" */ './views/pages/Desc.vue')
      },
      {
        path: "/business",
        component: () => import( /* webpackChunkName: "business" */ './views/pages/Business.vue')
      },
      {
        path: "/contact",
        component: () => import( /* webpackChunkName: "contact" */ './views/pages/Contact.vue')
      }
    ]
  }]
})